<#--
 * Copyright (c) 2010-2011 julewa.com.  
 * All rights reserved. 
 * 
 * @author Huang Benhua
 * @date 2011-2-20
 --><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
    "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">

<sqlMapConfig>

	<settings 
		<#list settings as s>
			${s.key}="${s.value}"
		</#list>
	/>
	
	<resultObjectFactory type="com.julewa.db.ibatis.IbatisResultObjectFactory" >
	<#list autowireBeans as b>
		<property name="bean_${b_index}" value="${b}"/>
	</#list>
	</resultObjectFactory>
	
	<transactionManager type="JDBC" commitRequired="false">
		<dataSource type="SIMPLE">
			<#list jdbc as j>
				<property name="JDBC.${j.key}" value="${j.value}" />
			</#list>
			<#list pool as p>
				<property name="Pool.${p.key}" value="${p.value}" />
			</#list>
		</dataSource>
	</transactionManager>
	

	
	<#list resources as r>
		<sqlMap resource="${r}" />
	</#list>
	
</sqlMapConfig>